<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>C002_css盒模型</title>

	<style>
		body {
			padding: 0;
			margin: 0;
		}

		#box {
			background: cadetblue;
			/*height: 50px;*/
			/*width: 200px;*/
			/*overflow: hidden;*/
			padding-bottom: 20px;
			margin-top: 30px;
			border-bottom: 5px solid #a550e6;
			border-top: 5px solid #a550e6;
		}

		.box {
			width: 350px;
			height: 150px;
			margin: 25px;
			padding: 25px;
			border: 5px solid black;
			box-sizing: border-box;
		}
	</style>

</head>
<body>

<div id="box">
	Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa, ut.
</div>

<div class="box"></div>

</body>
</html>